package com.gitee.feizns.itrip.personal.biz.entity.ao;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author feizns
 * @since 2019/1/14 0014
 */
@Data
public class ForAcceptUserLinkUser {

    /**
     * 用户id
     */
    private Long id;

    /**
     * 常用联系人姓名
     */
    @NotNull(message = "{com.gitee.feizns.itrip.personal.biz.entity.ao.ForAcceptUserLinkUser.linkUserName}")
    @NotEmpty(message = "{com.gitee.feizns.itrip.personal.biz.entity.ao.ForAcceptUserLinkUser.linkUserName}")
    private String linkUserName;

    /**
     * 证件号码
     */
    @NotNull(message = "{com.gitee.feizns.itrip.personal.biz.entity.ao.ForAcceptUserLinkUser.linkIdCard}")
    @NotEmpty(message = "{com.gitee.feizns.itrip.personal.biz.entity.ao.ForAcceptUserLinkUser.linkIdCard}")
    private String linkIdCard;

    /**
     * 常用联系人电话
     */
    @NotNull(message = "{com.gitee.feizns.itrip.personal.biz.entity.ao.ForAcceptUserLinkUser.linkPhone}")
    @NotEmpty(message = "{com.gitee.feizns.itrip.personal.biz.entity.ao.ForAcceptUserLinkUser.linkPhone}")
    private String linkPhone;

    /**
     * 证件类型
     */
    private Integer linkIdCardType;

}
